package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.mapper.HealthinterventionSportslibraryMapper;
import com.zj.healthmanage.pojo.HealthinterventionSportslibrary;
import com.zj.healthmanage.service.HealthinterventionSportslibraryService;
@Service
public class HealthinterventionSportslibraryServiceImpl implements HealthinterventionSportslibraryService{

    @Resource
    private HealthinterventionSportslibraryMapper healthinterventionSportslibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer healthinterventionId,Integer sportslibraryId) {
        return healthinterventionSportslibraryMapper.deleteByPrimaryKey(healthinterventionId,sportslibraryId);
    }

    @Override
    public int insert(HealthinterventionSportslibrary record) {
        return healthinterventionSportslibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(HealthinterventionSportslibrary record) {
        return healthinterventionSportslibraryMapper.insertSelective(record);
    }

}
